package com.demo.spi.impl;

import com.demo.spi.Person;
import com.demo.spi.StudentService;
import org.apache.dubbo.common.URL;

public class StudentServiceImpl implements StudentService {
    private Person person;
    public void setPerson(Person person){
        this.person = person;
    }
    @Override
    public void sayHello(URL url) {
        System.out.println("student say hello..");
        person.sayBye(url);
    }
}
